public class Bird extends Animal
{
    int WingNumber;
    int FootNumber;
    public Bird(int WingNumber,int FootNumber)
    {
        super("麻雀",5);
        this.WingNumber=WingNumber;
        this.FootNumber=FootNumber;
    }
    public void ShowInfo()
    {
        System.out.println("名称:" + name + "重量:" + weight + "翅膀数" + WingNumber + "脚数" +
                FootNumber + "可以" + eat + "和"+ sleep);

    }
}
